<%-- 
    Document   : user_info
    Created on : Apr 9, 2011, 11:23:37 AM
    Author     : yvonne
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<script type="text/javascript">
    function logout(){

       
        document.getElementById("frmUser").submit();


    }

</script>

<jsp:useBean id="member" type="cs4280.bean.Member" scope="session"/>


    <form name="frmUser" id="frmUser" method="post" action="/assignmentCinema/">
        <input type="hidden" name="todo" id="todo" value="logout"/>

        Welcome <jsp:getProperty name="member" property="username"/><br/>
        Your loyalty point is: <jsp:getProperty name="member" property="lp"/><br/>
        <input type="button" value="logout" onclick="logout();"/>
    </form>




